{extend name="public/base" /}
{block name="main-content"}
	<div class="page-content">
		<!--主题-->
		<div class="page-header">
			<h1>
				您当前操作
				<small>
					<i class="ace-icon fa fa-angle-double-right"></i>
					添加文章
				</small>
			</h1>
		</div>
		<div class="row">

			<form class="form-horizontal" name="form">
				<div class="form-line">
					<!--<label>请选择文件：</label>-->
					<!--<span class="small-tip">文件只支持.格式，文件大小1M以内</span>-->
					<div class="choose-file-area">
						<input class="file-name" type="text" readonly="readonly" ng-model="fileItem.name"/>
						<a href="javascript:;" class="choose-book">
							<input type="file" name="certificate" nv-file-select uploader="uploader" ng-click="clearItems()"/>浏览
						</a>
					</div>
				</div>

				<button type="submit" ng-click="UploadFile()">提交</button>
			</form>



			<div class="col-xs-12">
				<form class="form-horizontal ajaxForm2" name="form0" method="post" action="{:url('shenpi_runadd')}"  enctype="multipart/form-data">
	<div class="clearfix form-actions">
						<div class="col-md-offset-3 col-md-9">
							<button class="btn btn-info" type="submit">
								<i class="ace-icon fa fa-check bigger-110"></i>
								保存
							</button>

							&nbsp; &nbsp; &nbsp;
							<button class="btn" type="reset">
								<i class="ace-icon fa fa-undo bigger-110"></i>
								重置
							</button>
						</div>
					</div>
				</form>
			</div>
		</div>

	</div><!-- /.page-content -->
{/block}
{block name="scripts"}
	<script>
			//多图设置
			$("#pic_list").hide();
			$("#news_pic_list").click(function(){
				$("#pic_list").hide();
			});
			$("#news_pic_qqlist").click(function(){
				$("#pic_list").show();
			});
			//跳转额外属性
			$("#pptaddress").hide();
			$("#news_flag_vaj").click(function(){
				$("#pptaddress").toggle(400);
			});
			$("#cpprice").hide();
			$("#news_flag_vacp").click(function(){
				$("#cpprice").toggle(400);
			});
			$('.date-picker').datepicker({
					autoclose: true,
					todayHighlight: true,
					language:'zh-CN',
				})
	</script>
{/block}